
export function getSize (id) {
    let div = document.getElementById(id);
    let temp = window.getComputedStyle(div);
    let height = temp.getPropertyValue('height').replace('px', '');
    let width = temp.getPropertyValue('width').replace('px', '');
    return { 'height': parseFloat(height), 'width': parseFloat(width), 'object': div };
}
